import {createRouter,createWebHashHistory} from 'vue-router'

let router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            redirect:'/login'
        },
        {
            // 登录页面
            path: '/login',
            component: () => import('../views/UserLoginView.vue')
        }
      ]
})

//导出
export default router

///^\S*(?=\S{6,})(?=\S*\d)(?=\S*[A-Z])(?=\S*[a-z])(?=\S*[!@#$%^&*? ])\S*$/